package com.carl.zlds.service;

import com.carl.zlds.tool.common.PageBO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.carl.zlds.model.BlackAccount;
import com.carl.zlds.pojo.dto.BlackAccountSearchDTO;
import com.carl.zlds.pojo.dto.SaveBlackAccountDTO;
import com.carl.zlds.pojo.vo.BlackAccountVO;

import java.util.Map;

/**
 * @author carl
 */
public interface IBlackAccountService extends IService<BlackAccount> {

    void saveBlackAccount(Long id, SaveBlackAccountDTO dto);

    void deleteBlackAccount(Long id);

    Map<String, Object> getBlackAccountList(BlackAccountSearchDTO dto, PageBO pageBO);

    BlackAccountVO searchBlackAccount(BlackAccountSearchDTO dto);
}
